#pragma once
#include "Entity.h"
#include "v2d.h"
#include "templatevector.h"

extern class Player;
enum ENEMY_TYPE {BASIC_ENEMY, RANGED_ENEMY, STRONG_ENEMY};

class Enemy : public Entity
{
	Player * target;
	int Attack_force;
	TemplateVector<GraphNode*> Math;
	GraphNode * node;
	
	
	
	bool See_Player;
	bool PlayerInRange;
	bool Player_Lost;

	enum EnemyState
	{
		Wander,Chase,Attack,Advanced_Attack,Flank
	};
	EnemyState State;

public:
	Enemy();
	~Enemy();
	void initialize(ENEMY_TYPE,V2DF);
	void update();
};